package com.kjtpay.design_pattern.command;

/**
 * 具体的烤羊肉串命令，通知烤肉者
 */
class MuttonCommand extends Command {
    MuttonCommand(Barbecue receiver) {
        super(receiver);
        name = "烤羊肉";
    }

    @Override
    String executeCommand() {
        return receiver.bakeMutton();
    }
}
